/*package cn.pconline.autoclub.util;

import cn.pconline.censor.client.domain.TextResult;
import cn.pconline.censor.client.service.KeywordService;
import cn.pconline.censor.client.service.LevelService;

public class KeywordUtil{

	
	private  KeywordService keywordService ;

	public void setKeywordService(KeywordService keywordService) {
		this.keywordService = keywordService;
	}


	public boolean matchKeyword(String text) {
		try{
			
			TextResult result = keywordService.filter(text, null);
			if(result!=null){
				if(result.getState()<=LevelService.STATE_REPLACE){
					return true;
				}
			}
		}catch (Exception e) {
		    e.printStackTrace(System.err);
			return false;
		}
        return false;
    }
}*/